import axios from 'axios'

const server = axios.create({
    baseURL: 'http://localhost:8080',
    timeout: 5000
})

server.interceptors.request.use(
    config => {
        return config
    }
);
server.interceptors.response.use(
    res => res.data

)

export default server